Computes the size of a fractional factorial design.
A 2^(k-p) fractional factorial design has 2^(k-p) runs. For example: 2^(3-1) has 4 runs for 3 factors (1/2 fraction).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | nfactors |
Number of factors (k). |
||
| integer(kind=int32), | intent(in) | :: | fraction |
Fraction level (p): 1 for 1/2, 2 for 1/4, 3 for 1/8, etc. |
||
| integer(kind=int32), | intent(out) | :: | m |
Number of runs (rows). |
||
| integer(kind=int32), | intent(out) | :: | n |
Number of factors (columns), same as nfactors. |